//
//  YCHomeNavLeftButton.m
//  美丽衣橱
//
//  Created by 方赫 on 16/4/19.
//  Copyright © 2016年 FH. All rights reserved.
//

#import "YCHomeNavLeftButton.h"

@implementation YCHomeNavLeftButton

+ (YCHomeNavLeftButton *)loadLeftButton {
    
    YCHomeNavLeftButton *leftBtn = [YCHomeNavLeftButton buttonWithType:UIButtonTypeCustom];
    
    [leftBtn setTitle:@"我要加盟" forState:UIControlStateNormal];
    [leftBtn setTitleColor:[UIColor colorWithRed:255/255.0 green:71/255.0 blue:149/255.0 alpha:1] forState:UIControlStateNormal];
    leftBtn.titleLabel.font = [UIFont systemFontOfSize:14.0];
    
    leftBtn.backgroundColor = [UIColor whiteColor];
    
    leftBtn.layer.cornerRadius = 5.0;
    
    [leftBtn sizeToFit];
    
    return leftBtn;
}

@end
